package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 改胎信息表
 * </p>
 *
 * @author LX
 * @since 2018-09-18
 */
@TableName("erp_data_error")
public class ErpDataError extends Model<ErpDataError> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 日期
     */
    private String dt;
    /**
     * 分支机构
     */
    private String branch;
    /**
     * 单号
     */
    @TableField("form_id")
    private String formId;
    /**
     * 客户姓名
     */
    @TableField("customer_name")
    private String customerName;
    /**
     * 车辆牌号
     */
    @TableField("car_palte")
    private String carPalte;
    /**
     * 问题
     */
    private String problem;
    /**
     * 处理进程
     */
    @TableField("treatment_process")
    private String treatmentProcess;
    /**
     * 经办人
     */
    private String attn;
    /**
     * 处理进程
     */
    private String treat;
    /**
     * 连接
     */
    @TableField("master_id")
    private Integer masterId;
    /**
     * 老数据
     */
    @TableField("old_data")
    private String oldData;
    /**
     * 新数据
     */
    @TableField("new_data")
    private String newData;
    /**
     * 连接
     */
        @TableField("customer_id")
    private Integer customerId;

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDt() {
        return dt;
    }

    public void setDt(String dt) {
        this.dt = dt;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCarPalte() {
        return carPalte;
    }

    public void setCarPalte(String carPalte) {
        this.carPalte = carPalte;
    }

    public String getProblem() {
        return problem;
    }

    public void setProblem(String problem) {
        this.problem = problem;
    }

    public String getTreatmentProcess() {
        return treatmentProcess;
    }

    public void setTreatmentProcess(String treatmentProcess) {
        this.treatmentProcess = treatmentProcess;
    }

    public String getAttn() {
        return attn;
    }

    public void setAttn(String attn) {
        this.attn = attn;
    }

    public String getTreat() {
        return treat;
    }

    public void setTreat(String treat) {
        this.treat = treat;
    }

    public Integer getMasterId() {
        return masterId;
    }

    public void setMasterId(Integer masterId) {
        this.masterId = masterId;
    }

    public String getOldData() {
        return oldData;
    }

    public void setOldData(String oldData) {
        this.oldData = oldData;
    }

    public String getNewData() {
        return newData;
    }

    public void setNewData(String newData) {
        this.newData = newData;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpDataError{" +
        ", id=" + id +
        ", dt=" + dt +
        ", branch=" + branch +
        ", formId=" + formId +
        ", customerName=" + customerName +
        ", carPalte=" + carPalte +
        ", problem=" + problem +
        ", treatmentProcess=" + treatmentProcess +
        ", attn=" + attn +
        ", treat=" + treat +
        ", masterId=" + masterId +
        ", oldData=" + oldData +
        ", newData=" + newData +
        "}";
    }
}
